@import url("https://fonts.googleapis.com/css2?family=Average+Sans&family=Lilita+One&display=swap");

.login {
  padding: 0px 50px 0px;
  margin-top: 30px;
}
.login_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.login_header {
  padding-top: 30px;
  font-family: "Average Sans";
  font-size: 2.3em;
  font-weight: 400;
  line-height: 52px;
  letter-spacing: 0em;
  text-align: center;
  color: #000000;
}
.login_small_text {
  padding-top: 10px;
  font-family: "Average Sans";
  font-size: 1em;
  font-weight: 400;
  line-height: 33px;
  letter-spacing: 0em;
  text-align: center;
  color: #acacac;
}

/* form ====================================================================*/
.login_form {
  padding-top: 33px;
  display: flex;
  flex-direction: column;
}
.login_text_field {
  text-align: center;
  outline: none;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 2.5em;
  font-weight: 400;
  line-height: 95%;
  color: #878383;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #000000;
}
.login_text_field:not(:last-child) {
  margin-bottom: 20px;
}
.login_submit {
  margin-top: 30px;
  background-color: #000000;
  border-radius: 36px;
  font-size: 1.6em;
  font-weight: 400;
  line-height: 95%;
  color: #fff;
  padding: 10px 0px;
  cursor: pointer;
}
/* email & password uncorrect===================================== */
.login_uncorrect {
  font-family: "Average Sans";
  font-size: 1em;
  color: red;
}
.login_submit:disabled {
  cursor: not-allowed;
}
/* login link=========================================================*/
.login_link {
  position: relative;
  text-decoration: none;
  font-family: "Average Sans";
  font-size: 2em;
  font-weight: 400;
  line-height: 52px;
  letter-spacing: 0em;
  text-align: center;
  color: #000000;
}
.login_link:after {
  display: block;
  position: absolute;
  left: 0;
  width: 0;
  bottom: 5px;
  height: 2px;
  background-color: #000000;
  content: "";
  transition: all 0.3s ease;
}
.login_link:hover:after,
.login_link:focus:after {
  width: 100%;
}
.login_error {
  display: block;
  background-color: #000000;
}
.logout_button {
  margin: 20px 0px;
  padding: 5px 30px;
  text-align: center;
  width: 200px;
  font-family: "Lilita One";
  font-size: 2rem;
  color: #fff;
  background-color: #000000;
  border-radius: 36px;
  cursor: pointer;
}
.logout_block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
